package com.tuijian.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @author 赵俊琦
 * {@code @date} 2023-06-08
 * @version 1.0
 * {@code @description} 商品重排类
 *
 */

@Data
@NoArgsConstructor
public class IdScore {
    /**
     * 用户id
     */
    private String userId;
    /**
     * 商品id
     */
    private String productId;
    /**
     * 商品精排得分
     */
    private double score;
    /**
     * 商品重排得分
     */
    private double rearRangeScore;
    /**
     * 商品分类号
     */
    private String category;

    public IdScore(String userId, String productId, double score, double rearRangeScore, String category) {
        this.userId = userId;
        this.productId = productId;
        this.score = score;
        this.rearRangeScore = rearRangeScore;
        this.category = category;
    }

}
